package com.fanrenqiji.modules.sys.security;

/**
 * @author lijian E-mail:ljz0721cx@163.com
 * @version 创建时间：2015年1月21日 下午4:44:32
 * @description 用户和密码 用户状态（包含验证码）令牌类，
 */
public  class UsernamePasswordToken extends
		org.apache.shiro.authc.UsernamePasswordToken {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户状态
	 */
    private String userstate;

	
	public String getUserstate() {
		return userstate;
	}

	public void setUserstate(String userstate) {
		this.userstate = userstate;
	}

	private String captcha;

	public String getCaptcha() {
		return this.captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
	
	

	public UsernamePasswordToken() {
		super();
	}

	public UsernamePasswordToken(String username, char[] password,
			boolean rememberMe, String host, String captcha,String userstate) {
		super(username, password, rememberMe, host);
		this.userstate = userstate;
		this.captcha = captcha;
	}
}
